class CJump implements RtlInsn {
    private boolean flag;
    private Temp temp;
    private String label;

    public CJump (boolean _flag, Temp _temp, String _label){
	flag =_flag;
	temp =_temp;
	label =_label;
    }

    public boolean getFlag (){
	return flag;
    }

    public void setFlag (boolean _flag){
	flag =_flag;
    }

    public Temp  getTemp (){
	return temp;
    }

    public void setTemp (Temp _temp){
	temp =_temp;
    }

    public String getLabel (){
	return label;
    }

    public void setLabel (String _label){
	label =_label;
    }

    public String toString(){
	return "cjump" + "(" + flag + " " + temp.toString()
	    + " " + label + ")";
    }

    public RtlInstrId getRtlId()
    {
	if(flag) //Modified by Rodrigo, I don't see why this line was: if(!flag)
	    return RtlInstrId.CJUMP_TRUE;
	else
           return RtlInstrId.CJUMP_FALSE;
    }

}
